<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<c:set var="ctx" value="${pageContext.request.contextPath}" scope="page"/>
<html>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery_1.12.4.min.js"></script>
<script>
    $(function () {
        $("#a1").click(function () {
            $("#img1").attr("src", "${ctx}/DrawImage?createTypeFlag=n&date=" + new Date());
        })
    })
</script>
<body>
<h2>Hello World!</h2>
<div id="d2"><font color="red">*</font>验证码:
    <input type="text" placeholder="不区分大小写" class="intext" id="yzm">
    <img src="${ctx}/DrawImage?createTypeFlag=n" id="img1">
    看不清楚,<input type="button" id="a1" value="换一张"/>
    <div id="f1"></div>
</div>
</body>
</html>
